package com._101aiot.test.feign.feign;


import com._101aiot.common.resultutil.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

//@FeignClient(url = "http://192.168.2.104:8001", name = "provide-service", fallbackFactory = ProvideServiceHystrice.class)
@FeignClient(value = "test-feign-server-provide")
public interface ProvideService {

    @GetMapping("/feign-provide/getInfo")
    CommonResult<Map<String, String>> getInfo();

}
